using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;

public class UIBase : MonoBehaviour
{
    public virtual void OnShow()
    {

    }

    public virtual void OnHide()
    {

    }

    public void BindBtn(Button btn,UnityAction callback)
    {
        btn.onClick.AddListener(callback);
    }
}
